package com.design.command.command;

import com.design.command.Command;
import com.design.command.Receiver;

public class ConcreateCommand implements Command {

    private Receiver receiver;

    public ConcreateCommand(Receiver receiver){
        this.receiver=receiver;
    }

    @Override
    public void execute() {
        receiver.action();
    }
}
